package com.wmm.test;

import com.wmm.bean.User;
import com.wmm.service.UserService;

import java.sql.SQLException;

public class UserDemo {

    public static void main(String[] args) {
        User user = new User("admin", "123456");

        UserService userService = new UserService();

        User user1 = userService.userLoginService(user);
        System.out.println(user1.toString());

    }
}
